<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('ProductSkuinfoGetParam/AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfo.class.php');

class AlibabaOceanOpenplatformBizProductResultProductSimpleSkuInfoResult extends SDKDomain {

       	
    private $skuSimpleInfos;
    
        /**
    * @return sku模型
    */
        public function getSkuSimpleInfos() {
        return $this->skuSimpleInfos;
    }
    
    /**
     * 设置sku模型     
     * @param array include @see AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfo[] $skuSimpleInfos     
     * 参数示例：<pre>[]</pre>     
     * 此参数必填     */
    public function setSkuSimpleInfos(AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfo $skuSimpleInfos) {
        $this->skuSimpleInfos = $skuSimpleInfos;
    }
    
        	
    private $openUid;
    
        /**
    * @return 卖家openUid
    */
        public function getOpenUid() {
        return $this->openUid;
    }
    
    /**
     * 设置卖家openUid     
     * @param String $openUid     
     * 参数示例：<pre>0923sdfKSJF</pre>     
     * 此参数必填     */
    public function setOpenUid( $openUid) {
        $this->openUid = $openUid;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "skuSimpleInfos", $this->stdResult )) {
    			$skuSimpleInfosResult=$this->stdResult->{"skuSimpleInfos"};
    				$object = json_decode ( json_encode ( $skuSimpleInfosResult ), true );
					$this->skuSimpleInfos = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfoResult=new AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfo();
						$AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfoResult->setArrayResult($arrayobject );
						$this->skuSimpleInfos [$i] = $AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfoResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "openUid", $this->stdResult )) {
    				$this->openUid = $this->stdResult->{"openUid"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "skuSimpleInfos", $this->arrayResult )) {
    		$skuSimpleInfosResult=$arrayResult['skuSimpleInfos'];
    			$this->skuSimpleInfos = new AlibabaOceanOpenplatformBizProductCommonModelProductSimpleSkuInfo();
    			$this->skuSimpleInfos->setStdResult ( $skuSimpleInfosResult);
    		}
    		    	    			    		    			if (array_key_exists ( "openUid", $this->arrayResult )) {
    			$this->openUid = $arrayResult['openUid'];
    			}
    		    	    		}
 
   
}
?>